package routers

import (
	"chinasoccer/apis/student"
	"github.com/gin-gonic/gin"
)

func StudentRouter(r *gin.RouterGroup) {

	r.POST("/student", student.UploadStudent)
	r.GET("/studentGet", student.GetStudents)
	r.POST("/studentUpdate", student.UpdateStudent)
	r.POST("/studentAdd", student.AddStudent)
	r.POST("/studentDel", student.DelStudent)

	//r.POST("/student", student.UploadStudent)
	//r.GET("/studentGet", student.GetStudents)
	//r.POST("/studentUpdate", student.UpdateStudent)
	//r.POST("/studentAdd", student.AddStudent)
	//r.POST("/studentDel", student.DelStudent)

}
